# a= slice(5,10,2)
# print(a.start)
# print(a.step)
# print(a.stop)

items = [0,1,2,3,4,5,6]
a = slice(2,5)
print(items[2:5])
print(items[a])
items[a]=[10,11,12]
print(items)
del items[a]
print(items)
print(a)